package com.ybbase.framework.config.file;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 配置信息
 *
 * @author cg
 * @date 2018-08-15 10:59
 * @since 4.0
 **/
@Component
@ConfigurationProperties("fileconfig")
@PropertySource(value = "classpath:application.yml")

public class FileConfig {

    @Value("${file-path}")
    public String filePath;
    @Value("${file-name}")
    public String fileName;
    @Value("${domain-name}")
    public String domainName;

}
